Important: kernel-rt security, bug fix, and enhancement update

Related Vulnerabilities: CVE-2016-8633   CVE-2017-8824   CVE-2017-12154   CVE-2017-13166   CVE-2016-7913   CVE-2017-7294   CVE-2017-9725   CVE-2017-12190   CVE-2017-15121   CVE-2017-15126   CVE-2017-15129   CVE-2017-15265   CVE-2017-17053   CVE-2017-17448   CVE-2017-17449   CVE-2017-17558   CVE-2017-18017   CVE-2017-18203   CVE-2017-1000252   CVE-2017-1000407   CVE-2017-1000410   CVE-2018-5750   CVE-2018-1000004   CVE-2016-3672   CVE-2017-14140   CVE-2017-15116   CVE-2017-15127   CVE-2018-6927   CVE-2016-3672   CVE-2016-8633   CVE-2016-7913   CVE-2017-7294   CVE-2017-14140   CVE-2017-9725   CVE-2017-1000252   CVE-2017-12154   CVE-2017-12190   CVE-2017-15265   CVE-2017-15116   CVE-2017-17053   CVE-2017-1000410   CVE-2017-8824   CVE-2017-1000407   CVE-2017-15121   CVE-2017-15126   CVE-2017-15127   CVE-2017-17558   CVE-2017-17449   CVE-2017-17448   CVE-2017-18017   CVE-2017-15129   CVE-2018-1000004   CVE-2018-5750   CVE-2018-6927   CVE-2017-13166   CVE-2017-18203   CVE-2016-3672   CVE-2016-7913   CVE-2016-8633   CVE-2017-7294   CVE-2017-8824   CVE-2017-9725   CVE-2017-12154   CVE-2017-12190   CVE-2017-13166   CVE-2017-13305   CVE-2017-14140   CVE-2017-15116   CVE-2017-15121   CVE-2017-15126   CVE-2017-15127   CVE-2017-15129   CVE-2017-15265   CVE-2017-15274   CVE-2017-17448   CVE-2017-17449   CVE-2017-17558   CVE-2017-18017   CVE-2017-18203   CVE-2017-1000252   CVE-2017-1000407   CVE-2017-1000410   CVE-2018-5750   CVE-2018-6927   CVE-2018-1000004  

Synopsis

Important: kernel-rt security, bug fix, and enhancement update

Type/Severity

Security Advisory: Important

Topic

An update for kernel-rt is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

The kernel-rt packages provide the Real Time Linux Kernel, which enables fine-tuning for systems with extremely high determinism requirements.

Security Fix(es):

  • kernel: Buffer overflow in firewire driver via crafted incoming packets (CVE-2016-8633, Important)
  • kernel: Use-after-free vulnerability in DCCP socket (CVE-2017-8824, Important)
  • Kernel: kvm: nVMX: L2 guest could access hardware(L0) CR8 register (CVE-2017-12154, Important)
  • kernel: v4l2: disabled memory access protection mechanism allowing privilege escalation (CVE-2017-13166, Important)
  • kernel: media: use-after-free in [tuner-xc2028] media driver (CVE-2016-7913, Moderate)
  • kernel: drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl() (CVE-2017-7294, Moderate)
  • kernel: Incorrect type conversion for size during dma allocation (CVE-2017-9725, Moderate)
  • kernel: memory leak when merging buffers in SCSI IO vectors (CVE-2017-12190, Moderate)
  • kernel: vfs: BUG in truncate_inode_pages_range() and fuse client (CVE-2017-15121, Moderate)
  • kernel: Use-after-free in userfaultfd_event_wait_completion function in userfaultfd.c (CVE-2017-15126, Moderate)
  • kernel: net: double-free and memory corruption in get_net_ns_by_id() (CVE-2017-15129, Moderate)
  • kernel: Use-after-free in snd_seq_ioctl_create_port() (CVE-2017-15265, Moderate)
  • kernel: Incorrect handling in arch/x86/include/asm/mmu_context.h:init_new_context function allowing use-after-free (CVE-2017-17053, Moderate)
  • kernel: Missing capabilities check in net/netfilter/nfnetlink_cthelper.c allows for unprivileged access to systemwide nfnl_cthelper_list structure (CVE-2017-17448, Moderate)
  • kernel: Missing namespace check in net/netlink/af_netlink.c allows for network monitors to observe systemwide activity (CVE-2017-17449, Moderate)
  • kernel: Unallocated memory access by malicious USB device via bNumInterfaces overflow (CVE-2017-17558, Moderate)
  • kernel: netfilter: use-after-free in tcpmss_mangle_packet function in net/netfilter/xt_TCPMSS.c (CVE-2017-18017, Moderate)
  • kernel: Race condition in drivers/md/dm.c:dm_get_from_kobject() allows local users to cause a denial of service (CVE-2017-18203, Moderate)
  • kernel: kvm: Reachable BUG() on out-of-bounds guest IRQ (CVE-2017-1000252, Moderate)
  • Kernel: KVM: DoS via write flood to I/O port 0x80 (CVE-2017-1000407, Moderate)
  • kernel: Stack information leak in the EFS element (CVE-2017-1000410, Moderate)
  • kernel: Kernel address information leak in drivers/acpi/sbshc.c:acpi_smbus_hc_add() function potentially allowing KASLR bypass (CVE-2018-5750, Moderate)
  • kernel: Race condition in sound system can lead to denial of service (CVE-2018-1000004, Moderate)
  • kernel: unlimiting the stack disables ASLR (CVE-2016-3672, Low)
  • kernel: Missing permission check in move_pages system call (CVE-2017-14140, Low)
  • kernel: Null pointer dereference in rngapi_reset function (CVE-2017-15116, Low)
  • kernel: Improper error handling of VM_SHARED hugetlbfs mapping in mm/hugetlb.c (CVE-2017-15127, Low)
  • kernel: Integer overflow in futex.c:futux_requeue can lead to denial of service or unspecified impact (CVE-2018-6927, Low)

For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.

Red Hat would like to thank Eyal Itkin for reporting CVE-2016-8633; Mohamed Ghannam for reporting CVE-2017-8824; Jim Mattson (Google.com) for reporting CVE-2017-12154; Vitaly Mayatskih for reporting CVE-2017-12190; Andrea Arcangeli (Engineering) for reporting CVE-2017-15126; Kirill Tkhai for reporting CVE-2017-15129; Jan H. Schönherr (Amazon) for reporting CVE-2017-1000252; and Armis Labs for reporting CVE-2017-1000410. The CVE-2017-15121 issue was discovered by Miklos Szeredi (Red Hat) and the CVE-2017-15116 issue was discovered by ChunYu Wang (Red Hat).

Additional Changes:

See the Red Hat Enterprise Linux 7.5 Release Notes linked from References.

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

The system must be rebooted for this update to take effect.

Affected Products

  • Red Hat Enterprise Linux for Real Time 7 x86_64
  • Red Hat Enterprise Linux for Real Time for NFV 7 x86_64

Fixes

  • BZ - 1292927 - rcuc starvation leads to rcu stall
  • BZ - 1324749 - CVE-2016-3672 kernel: unlimiting the stack disables ASLR
  • BZ - 1391490 - CVE-2016-8633 kernel: Buffer overflow in firewire driver via crafted incoming packets
  • BZ - 1401061 - RFE: Improve RT throttling mechanism
  • BZ - 1402885 - CVE-2016-7913 kernel: media: use-after-free in [tuner-xc2028] media driver
  • BZ - 1430418 - Backport "net/Qdisc: use a seqlock instead seqcount" upstream RT patch
  • BZ - 1436798 - CVE-2017-7294 kernel: drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()
  • BZ - 1448770 - INFO: task xfsaild/dm-2:1175 blocked for more than 600 seconds
  • BZ - 1452589 - Review our frequency scaling setup/tuning
  • BZ - 1462329 - RT: update source tree to match RHEL 7.5 tree
  • BZ - 1488329 - CVE-2017-14140 kernel: Missing permission check in move_pages system call
  • BZ - 1489088 - CVE-2017-9725 kernel: Incorrect type conversion for size during dma allocation
  • BZ - 1490781 - CVE-2017-1000252 kernel: kvm: Reachable BUG() on out-of-bounds guest IRQ
  • BZ - 1491224 - CVE-2017-12154 Kernel: kvm: nVMX: L2 guest could access hardware(L0) CR8 register
  • BZ - 1495089 - CVE-2017-12190 kernel: memory leak when merging buffers in SCSI IO vectors
  • BZ - 1500894 - sched/rt: Simplify the IPI rt balancing logic
  • BZ - 1501878 - CVE-2017-15265 kernel: Use-after-free in snd_seq_ioctl_create_port()
  • BZ - 1503749 - RT + Omnipath panic
  • BZ - 1506255 - mm: print warning when ksmd thread runs with CONFIG_PREEMPT_RT enabled
  • BZ - 1507270 - BUG: scheduling while atomic: irq/41-megasas/562/0x00000002
  • BZ - 1509264 - [RHEL-RT] Possible regression with NOHZ_FULL & rt_mutexes in IRQ (BZ1250649)
  • BZ - 1514609 - CVE-2017-15116 kernel: Null pointer dereference in rngapi_reset function
  • BZ - 1518274 - backport: c4ccd6b1ce locking/rtmutex: Prevent dequeue vs. unlock race
  • BZ - 1518638 - CVE-2017-17053 kernel: Incorrect handling in arch/x86/include/asm/mmu_context.h:init_new_context function allowing use-after-free
  • BZ - 1519160 - CVE-2017-1000410 kernel: Stack information leak in the EFS element
  • BZ - 1519591 - CVE-2017-8824 kernel: Use-after-free vulnerability in DCCP socket
  • BZ - 1520328 - CVE-2017-1000407 Kernel: KVM: DoS via write flood to I/O port 0x80
  • BZ - 1520893 - CVE-2017-15121 kernel: vfs: BUG in truncate_inode_pages_range() and fuse client
  • BZ - 1523481 - CVE-2017-15126 kernel: Use-after-free in userfaultfd_event_wait_completion function in userfaultfd.c
  • BZ - 1525218 - CVE-2017-15127 kernel: Improper error handling of VM_SHARED hugetlbfs mapping in mm/hugetlb.c
  • BZ - 1525474 - CVE-2017-17558 kernel: Unallocated memory access by malicious USB device via bNumInterfaces overflow
  • BZ - 1525762 - CVE-2017-17449 kernel: Missing namespace check in net/netlink/af_netlink.c allows for network monitors to observe systemwide activity
  • BZ - 1525768 - CVE-2017-17448 kernel: Missing capabilities check in net/netfilter/nfnetlink_cthelper.c allows for unprivileged access to systemwide nfnl_cthelper_list structure
  • BZ - 1531135 - CVE-2017-18017 kernel: netfilter: use-after-free in tcpmss_mangle_packet function in net/netfilter/xt_TCPMSS.c
  • BZ - 1531174 - CVE-2017-15129 kernel: net: double-free and memory corruption in get_net_ns_by_id()
  • BZ - 1535315 - CVE-2018-1000004 kernel: Race condition in sound system can lead to denial of service
  • BZ - 1539706 - CVE-2018-5750 kernel: Kernel address information leak in drivers/acpi/sbshc.c:acpi_smbus_hc_add() function potentially allowing KASLR bypass
  • BZ - 1544612 - CVE-2018-6927 kernel: Integer overflow in futex.c:futux_requeue can lead to denial of service or unspecified impact
  • BZ - 1548412 - CVE-2017-13166 kernel: v4l2: disabled memory access protection mechanism allowing privilege escalation
  • BZ - 1550811 - CVE-2017-18203 kernel: Race condition in drivers/md/dm.c:dm_get_from_kobject() allows local users to cause a denial of service

CVEs

References